package com.gozap.email.dao.impl;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.BeanFactoryAware;

import com.gozap.email.dao.HelloWorldDao;

public class HelloWorldDaoImpl implements HelloWorldDao{

	public String findName(String username) {
		if( "yaoming".equals(username) ){
			System.out.println("查找到了用户，用户名是"+"姚茗");
			return "姚茗";
		}else{
			System.out.println("没有该用户");
			return null;
		}
		
	}


}
